package cn.hh.ymcc.constants;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component // 交给容器管理
@ConfigurationProperties(prefix = "register.smscode")  // 读取配置文件
@Data // 提供get/set
public class SmsCodeConstants {
    private Integer interval;
    private Integer size;
    private Long timeOut;
    private String smsmessage;
    private String title;


}
